﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Runtime.Serialization;

namespace Model
{
    [DataContract]
    public class Special : Event
    {
        [DataMember]
        private string eventName;

        public Special(int id, string eventName, DateTime time, Movie movie, Cinema cinema, double price, int seatsBooked, int seatsSold)
            : base(id, time, movie, cinema, price, seatsBooked, seatsSold)
        {
            EventName = eventName;
        }

        public Special(string eventName, DateTime time, Movie movie, Cinema cinema, double price, int seatsBooked, int seatsSold)
            : base(time, movie, cinema, price, seatsBooked, seatsSold)
        {
            EventName = eventName;
        }

        public Special()
        {
            
        }

        [DataMember]
        public string EventName
        {
            get { return this.eventName; }
            set { this.eventName = value; }
        }
    }
}
